#ifndef MATRIX_3
#define MATRIX_3

namespace sleek
{
    namespace core
    {
        namespace math
        {
            template<typename T>
            class matrix3
            {
                public:
                    matrix3()
                    {
                        matrice = new T[3*3];
                        memset(matrice, 0, 3*3);
                    }
                    T operator [] (u32 i)
                    {
                        return matrice[i];
                    }
                    ~matrix3()
                    {
                        delete [] matrice;
                    }
                public:
                    T *matrice;
            };
            typedef matrix3<u8>  matrix3c;
            typedef matrix3<f32> matrix3f;
            typedef matrix3<int> matrix3i;
            typedef matrix3<u32> matrix3u;
            typedef matrix3<s32> matrix3s;
        }
    }
}

#endif
